home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gslib.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  1.5 KB  |  40 lines

  1. /* Copyright (C) 1995, 1996 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gslib.h,v 1.2 2000/09/19 19:00:29 lpd Exp $ */
  20. /* Library initialization and finalization interface */
  21. /* Requires stdio.h, gsmemory.h */
  22.  
  23. #ifndef gslib_INCLUDED
  24. #  define gslib_INCLUDED
  25.  
  26. /*
  27.  * Initialize the library.  gs_lib_init does all of the initialization,
  28.  * using the C heap for initial allocation; if a client wants the library to
  29.  * use a different default allocator during initialization, it should call
  30.  * gs_lib_init0 and then gs_lib_init1.
  31.  */
  32. int gs_lib_init(P1(FILE * debug_out));
  33. gs_memory_t *gs_lib_init0(P1(FILE * debug_out));
  34. int gs_lib_init1(P1(gs_memory_t *));
  35.  
  36. /* Clean up after execution. */
  37. void gs_lib_finit(P2(int exit_status, int code));
  38.  
  39. #endif /* gslib_INCLUDED */
  40.